#include "LogFactory.h"

LogFactory* LogFactory::instance = 0;

LogFactory::LogFactory(){
   this->log = new Log("logs\\Zuma.log");
}

LogFactory::~LogFactory(){
	delete log;
}

Log * LogFactory::getLog() const {
	return this->log;
}

LogFactory* LogFactory::getInstance() {
	if (!instance){
		instance = new LogFactory();
	}
	return instance;
}